package day07;

public class Test03 {
    public static void main(String[] args) {
        int r = setBit(10, 3);
        System.out.println("r:" + r);
    }

    public static int setBit(int v, int n) {
        return v | (1 << n);
    }
}

